﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sprotar
{
    [Serializable()]
    public class Plant
    {
        private string m_strPlantName;
        private string m_strBedName;
        private double m_maxHarvest;
        private double m_avgHarvest;
        private double m_ratioHarvest; 
        private int m_plantedQt;
        private int m_harvestedQt;

        //Búum til tilvik af Bed svo við höfum aðgang að dóti þar til að reikna tölfræði
        //Bed bedInfo = new Bed();

        public Plant()
        { }

        #region Properties
        public string PlantName
        {
            get { return m_strPlantName; }
            set { m_strPlantName = value; }
        }
        public string BedName
        {
            get { return m_strBedName; }
            set { m_strBedName = value; }
        }
        public double MaxHarvest
        {
            get { return m_maxHarvest; }
            set { m_maxHarvest = value; }
        }
        public double AvgHarvest
        {
            get { return m_avgHarvest; }
            set { m_avgHarvest = value; }
        }
        public double RatioHarvest
        {
            get { return m_ratioHarvest; }
            set { m_ratioHarvest = value; }
        }
        public int PlantedQt
        {
            get { return m_plantedQt; }
            set { m_plantedQt = value; }
        }
        public int HarvestedQt
        {
            get { return m_harvestedQt; }
            set { m_harvestedQt = value; }
        }

        #endregion
    }
}


